<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="wap-home-o" replace to="/home/dashboard"
        >主页</van-tabbar-item
      >
      <van-tabbar-item icon="shop-o" replace to="/home/late">仓库</van-tabbar-item>
      <van-tabbar-item icon="bar-chart-o" replace to="/home/statistic">统计</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style lang="scss" scoped></style>
